.header {
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  background: rgb(32, 32, 32);
  z-index: 99;
  padding: 0.7rem 1.5rem;
}

.header .toggle-navhandler {
  display: none;
}

.header .logo span {
  position: relative;
  top: 1px;
}

.searchBar input.search {
  background: rgb(18, 18, 18);
  padding: 0.4rem 1rem;
  border: 1px solid rgb(56, 56, 56);
  height: 31px;
  color: rgb(255, 255, 255);
}

.searchBar input {
  width: 500px;
}

.header ul {
  list-style: none;
  display: flex;
  position: relative;
  top: 2px;
}

.header li svg {
  margin-right: 1.7rem;
  position: relative;
  top: 3px;
}

.header img {
  position: relative;
  top: 3px;
}

.user {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  object-fit: cover;
}

.flex-row img,
.flex-row svg {
  margin-right: 0.8rem;
}

svg, .pointer {
  cursor: pointer;
}

.flex-row {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}

/* ------------------- sidebar ------------------- */
.sidebar {
  position: fixed;
  top: 55px;
  left: 0px;
  height: 100vh;
  width: 240px;
  background: rgb(32, 32, 32);
  padding-top: 1rem;
  overflow: auto;
  padding-bottom: 1.5rem;
  transition: all 0.3s ease 0s;
  z-index: 2;
}

.sidebar .active div {
  background: rgb(56, 56, 56);
  cursor: pointer;
}

.sidebar .icon {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  padding: 0.2rem 0px 0.2rem 1.5rem;
  margin-bottom: 0.4rem;
}

.sidebar .active svg {
  fill: rgb(255, 255, 255);
}

.sidebar .icon span {
  padding-left: 1rem;
  position: relative;
  top: 1px;
}

.ruler {
  height: 1px;
  background: rgb(56, 56, 56);
  margin: 1rem 0px;
}

/* ------------------- 主内容区域 ------------------- */
.main {
  margin-top: 60px;
  margin-left: 240px;
}

/* 上传视频弹出框 */
.modal-wrapper {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 900;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  animation: 0.5s ease-in-out 0s 1 normal none running ciAbGt;
}
.video-js {
  width: 100%;
  max-height: 100%;
  height: 0;
  padding-top: 62.5%;
}
.modal-wrapper .modal-content {
  width: 600px;
  margin: 4rem auto;
  background: #202020;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 0px, rgba(0, 0, 0, 0.25) 0px 0px 4px;
}
.modal-wrapper .modal-header {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
  padding: 1rem;
}
.modal-wrapper .modal-header-left {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}
.modal-wrapper .modal-header-left svg {
  margin-right: 1rem;
  position: relative;
  top: -1px;
  width: 30px;
  height: 30px;
  fill: #cc0000;
}
.modal-wrapper svg {
  width: 30px;
  height: 30px;
  fill: #cc0000;
}
svg,
.pointer {
  cursor: pointer;
}
.modal-wrapper button {
  margin-left: auto;
}
.next-button {
  padding: 0.4rem 1rem;
  background: #cc0000;
  color: #ffffff;
  border: 1px solid #cc0000;
  border-radius: 3px;
  letter-spacing: 1.1px;
}
.modal-wrapper .video-form {
  border-top: 1px solid #383838;
  border-bottom: 1px solid #383838;
  padding: 0.5rem 1rem;
}
.modal-wrapper .video-form h2 {
  margin: 1rem 0px;
}
.modal-wrapper .video-form input {
  height: 60px;
}
.modal-wrapper .video-form input,
.modal-wrapper .video-form textarea {
  width: 95%;
  background: #121212;
  border: 1px solid #383838;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 3px;
}
.modal-wrapper .video-form textarea {
  height: 120px;
}
